<template>
	<view>
		<view class="_popup _popup1" :class="PopupClass">
			<view class="_mask" @tap.stop="Hide"></view>
			<view class="_body _body1">
				<view class="">
					<view class="search">分享</view>
					<view class="bb"></view>
				</view>
				<view class="d-flex">
					<view class="vx">
						<image src="@/static/img/cate/vx.jpg" mode="widthFix" style="width: 102rpx;" />
						<view class="">微信</view>
					</view>
					<view class="vx">
						<image src="@/static/img/cate/pyq.jpg" mode="widthFix" style="width: 102rpx;" />
						<view class="">朋友圈</view>
					</view>
					<view class="vx">
						<image src="@/static/img/cate/qq.jpg" mode="widthFix" style="width: 102rpx;" />
						<view class="">QQ</view>
					</view>
		
				</view>
				<view class="bb"></view>
				<view class="">
					<button class="btn1">取消</button>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"share",
		data() {
			return {
				PopupClass: 'none',
			};
		},
		methods: {
			
			Hide() {
				this.PopupClass = 'hide'
				this.number = 1
				setTimeout(() => {
					this.PopupClass = "none"
				}, 200)
			},
		},
	}
</script>

<style lang="scss">
._popup,
	._mask {
		position: fixed;
		top: 0;
		width: 100%;
		height: 100%;
	}

	._popup {
		z-index: 2000;
		display: none;
	}

	._mask {
		z-index: 2002;
		background: rgba(0, 0, 0, 0.5);
	}

	._popup ._body {
		position: fixed;
		bottom: -800rpx;
		width: 100%;
		height: 800rpx;
		z-index: 2003;
		border-radius: 20rpx 20rpx 0 0;
		background: #FFFFFF;
		display: flex;
		flex-direction: column;
	}

	._popup1 ._body1 {
		bottom: -510rpx;
		height: 510rpx;
	}

	._popup.show {
		display: block;
	}

	.show ._mask {
		animation: showPopupMask 0.2S linear both;
	}

	.show ._body {
		animation: showPopupBody 0.2S linear both;
	}

	._popup.hide {
		display: block;
	}

	.hide ._mask {
		animation: hidePopupMask 0.2S linear both;
	}

	.hide ._body {
		animation: hidePopupBody 0.2S linear both;
	}

	@keyframes showPopupBody {
		0% {
			transform: translateY(0);
		}

		100% {
			transform: translateY(-100%);
		}
	}

	@keyframes hidePopupBody {
		0% {
			opacity: translateY(-100%);
		}

		100% {
			opacity: translateY(0);
		}
	}

	@keyframes showPopupMask {
		0% {
			opacity: 0;
		}

		100% {
			opacity: 1;
		}
	}

	@keyframes hidePopupMask {
		0% {
			opacity: 1;
		}

		100% {
			opacity: 0;
		}
	}

	._popup.none {
		display: none;
	}

	.hover {
		opacity: 0.6;

	}
</style>